import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
* 获取 OrrMaterialCalibrationDetail 分页列表
*/
export function getOrrMaterialCalibrationDetailPagination(data: any) {
    return axios.get(`${context}/orrMaterialCalibrationDetail/pagination`, { params: data });
}


/**
* 获取 OrrMaterialCalibrationDetail 所有数据
*/
export function getOrrMaterialCalibrationDetailAllList(data: any) {
    return axios.get(`${context}/orrMaterialCalibrationDetail/allList`, { params: data });
}


/**
* 获取 OrrMaterialCalibrationDetail 详情
*/
export function getOrrMaterialCalibrationDetailDetailById(id: any) {
    return axios.get(`${context}/orrMaterialCalibrationDetail/${id}`, { params:{id} });
}


/**
* 新增 OrrMaterialCalibrationDetail
*/
export function addOrrMaterialCalibrationDetail(data: any) {
    return axios.post(`${context}/orrMaterialCalibrationDetail`, data);
}

/**
* 修改 OrrMaterialCalibrationDetail
*/
export function updateOrrMaterialCalibrationDetail(data: any) {
    return axios.put(`${context}/orrMaterialCalibrationDetail`, data);
}

/**
* 删除 OrrMaterialCalibrationDetail
*/
export function batchRemoveOrrMaterialCalibrationDetail(data: any) {
        return axios.post(`${context}/orrMaterialCalibrationDetail/batchRemove`, data);
}
